/*
 * @Descripttion:
 * @Author: jhw
 * @Date: 2023-04-13 14:20:10
 * @LastEditors: jhw
 * @LastEditTime: 2023-05-04 14:59:05
 */
export type MemoRandumStats = {
  totals: number; //总数
  rewardCount: number; //激励数量
  punishCount: number; //惩戒数量
};

export type CommonStst = {
  records: Array<any>;
};

export enum IBatch {
  'year' = 'mapYear',
  'quarter' = 'mapQuarter',
  'month' = 'mapMonth',
  'week' = 'mapWeek',
}

export enum IBatchs {
  'year' = 'year',
  'quarter' = 'quarter',
  'month' = 'month',
  'week' = 'week',
}

export interface ISTotalCollection {
  statistics_type: string;
  resource_count: string;
  unit?: string;
  id?: number;
  icon?: string;
  title?: string;
}
/**
 * @description 服务调用TOP10资源列表
 */
export interface Ikv {
  name: string;
  count: number;
}
